#include <iostream>
using namespace std;

int main()
{
	int n ,m;
	cin >> n >> m;
	int sum =0;
	sum + 10*n+9;
	double s ;
	s =(double)sum / 19 ;
	printf("%.0lf",s);
	return 0;
}
